package com.studio49.exmple;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ImportResource;

import tk.mybatis.spring.annotation.MapperScan;

@ServletComponentScan
@SpringBootApplication
@ImportResource(locations={"classpath:spring-application.xml"})
@MapperScan("com.studio49.*.mapper")
public class Studio49Application extends SpringBootServletInitializer{

	public static void main(String[] args) {
		
		SpringApplication.run(Studio49Application.class, args);
	}

}

